package com.studyroom.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.studyroom.entity.Seat;
import com.studyroom.dto.SeatDTO;
import com.studyroom.vo.ReservationVO;
import java.time.LocalDateTime;
import java.util.List;

public interface SeatService extends IService<Seat> {
    List<Seat> getByRoomId(Long roomId);
    List<SeatDTO> getAvailableSeats(Integer roomId);
    List<ReservationVO> getReservations(Long seatId, LocalDateTime startTime, LocalDateTime endTime);
    List<ReservationVO> getReservations(Long seatId, LocalDateTime startTime, LocalDateTime endTime, List<Integer> statusList);
    boolean updateSeatOccupation(Long seatId, boolean isOccupied);
    boolean updateSeatStatus(Long seatId, Integer status);
} 